R++: Adding Path-Based Rules to C++

نویسندگان

  • Diane J. Litman
  • Peter F. Patel-Schneider
  • Anil Mishra
  • James M. Crawford
  • Daniel Dvorak
چکیده

Object-oriented languages and rule-based languages ooer two distinct and useful programming abstractions. However, previous attempts to integrate data-driven rules into object-oriented languages have typically achieved an uneasy union at best. R++ is a new, closer integration of the rule-based and object-oriented paradigms that extends C++ with a single programming construct, the path-based rule, as a new kind of class member. Path-based rules|data-driven rules that are restricted to follow pointers between objects|are like \automatic methods" that are triggered by changes to the objects they monitor. Path-based rules provide a useful level of abstraction that encourage a more declarative style of programming, and are valuable in object-oriented designs as a means of modeling dynamic collections of interdependent objects. Unlike more traditional pattern-matching rules, path-based rules are not at odds with the object-oriented paradigm, and ooer performance advantages for many natural applications.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

برجسته سازی در خطبۀ فدکیه حضرت زهرا(ع)

Foregrounding is one of the contemporary literary theories, which from a literary perspective to texts, in prose or verse, endeavors to explain and analyze those effective features and elements in the body of the discourse which rhetorically distinguish literary texts from ordinary ones. According to the Formalists, foregrounding is achieved through diminishing or increasing the rules. In other...

متن کامل

Validating dynamic properties of rule-based systems

rules , and generates the set of all paths in the rule base . Path Hunter found 512 abstract rules in the Blackbox Expert’s rule base , which formed 516 paths . A single path found by Path Hunter is shown in Figure 1 . The square nodes represent abstract rules , the ‘‘round’’ nodes represent predicates , and the directed arcs represent data dependencies between the rules . The logical completio...

متن کامل

Designing a rule-based fiscal framework in Iran economy

The existence of a structural budget deficit in Iranian economy and the lack of fiscal discipline have raised concerns about the financial stability of governments among economists. In recent decades, fiscal rules have been considered as a way to establish fiscal discipline and financial sustainability of governments around the world. In this regard, the present study seeks to design a fiscal f...

متن کامل

Influence of Adding SiC on Microstructure and Electrical Properties of ZnO-based Nanocomposite Varistor

In this research the influence of adding SiC on microstructure and electrical properties of ZnO-based Nanocomposite varistors were investigated. SiC was added with amounts of 10-0 mass% to ZnO-based varistor composition. It is found that SiC allows reaching to high threshold voltage with formation of fine-graine...

متن کامل

Effect of Adding Coenzyme Q10 and Ellagic Acid during Cryopreservation on Post-Thaw Quality of Ram Semen

The aim of this study was to determine the effects of co-Q10 and ellagic acid on sperm parameters after the freeze–thawing of Ghezel ram sperm. Twenty ejaculates from five Ghezel rams were collected in this study. Semen samples, which were diluted with a soybean lecithin (SL) based extender containing 0.25 mM ellagic acid, 0.5 μM co-Q10, 0.25 mM ellagic acid + 0.5 μM co-Q10 and no antioxidant (...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • IEEE Trans. Knowl. Data Eng.

دوره 14  شماره 

صفحات  -

تاریخ انتشار 2002